package com.hongxinguoji.manager.article.mapper;

import com.hongxinguoji.manager.article.pojo.HxArticle;
import com.hongxinguoji.manager.article.pojo.HxArticleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HxArticleMapper {
    int countByExample(HxArticleExample example);

    int deleteByExample(HxArticleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(HxArticle record);

    int insertSelective(HxArticle record);

    List<HxArticle> selectByExample(HxArticleExample example);

    HxArticle selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") HxArticle record, @Param("example") HxArticleExample example);

    int updateByExample(@Param("record") HxArticle record, @Param("example") HxArticleExample example);

    int updateByPrimaryKeySelective(HxArticle record);

    int updateByPrimaryKey(HxArticle record);
}